<h1>Listing pollers</h1>

<table>
  <tr>
    <th>Interval</th>
  </tr>

<% for poller in @pollers %>
  <tr>
    <td><%=h poller.interval %></td>
    <td><%= link_to 'Show', poller %></td>
    <td><%= link_to 'Edit', edit_poller_path(poller) %></td>
    <td><%= link_to 'Destroy', poller, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New poller', new_poller_path %>
